export interface ProjectInfo {
    creationTime: string;
    creatorId: string;
    id: string;
    lastModificationTime: string;
    lastModifierId: string;
    projectName: string;
    site: number;
}
  
export interface PartsInfo {
    creationTime: string;
    creatorId: string;
    currentValueTaskName: string;
    deviceId: string;
    id: string;
    lastModificationTime: string;
    lastModifierId: string;
    partName: string;
    partOwnerId: string;
    partStatus: string;
    projectId: string;
    stopValueTaskName: string;
    warningTaskName: string;
    warningValueTaskName: string;
}

interface CurrentSpeed {
    label: string;
    value: string;
    unit: string
}

export interface DistributionDeviceStatus {
    status: string;
    title: string;
    partId: string;
    currentSpeed?: CurrentSpeed;
    currentLifespan?: CurrentSpeed;
    warningValue?: CurrentSpeed;
    stopValue?: CurrentSpeed;
    currentPressure?:CurrentSpeed;
    currentElectricCurrent?:CurrentSpeed;
}